package org.galahad.colcontrol.client.menu;

import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.client.ui.MenuItem;

/**
 *
 * @author Fred Boussada
 */
public class MainMenuController {

    private MenuBar mainMenu = null;

    public MainMenuController() {
        initMainMenu();
    }

    private void initMainMenu() {
        mainMenu = new MenuBar(false);
        mainMenu.addItem("option1", new MenuBar(true));
        mainMenu.addItem("option2", new MenuBar(true));
    }

    public MenuBar getMenu() {
        return mainMenu;
    }

}
